{include file="lib/header.html" type="get_back" title="找回密码" }
  <div id="container">
    <div class="look-for-pwd">
      <div class="top">
        <ul class="clearfix">
          <li class="curr"><a href="javascript:void(0);"><span class="num">1</span>填写用户名<i class="arrow"></i></a></li>
          <li><a href="javascript:void(0);"><span class="num">2</span>验证身份<i class="arrow"></i></a></li>
          <li><a href="javascript:void(0);"><span class="num">3</span>设置新密码<i class="arrow"></i></a></li>
          <li><a href="javascript:void(0);"><span class="num">4</span>完成</a></li>
        </ul>
      </div>
      <div class="steps">
        <div class="step1">
          <h2 class="tit">请输入您绑定NBD帐号的邮箱、手机号码</h2>
          <form action="{AnUrl('user/getback/check_identity')}" method="post" id="js_postForm">
          <p class="txt-wrap clearfix"><input type="text" name="username" id="js_userName" placeholder="手机号/邮箱" class="txt txt1"/><span class="prompt hidden"><i class="false-icon"></i></span></p>
          <p class="btns"><a href="javascript:void(0);" id="js_nextBtn" class="btn1 next-btn">下一步</a></p>
          </form>
        </div>
      </div>
      <!--end steps-->
    </div>
  </div>
</div>
<script>
$(function(){
  $('.prompt').click(function(){
    $(this).hide();
  });
  $('#js_nextBtn').click(function(){
    var username = $.trim($('#js_userName').val());
    $.post(
        "{AnUrl('user/getback/check_identity')}",
        { username:username },
        function(data) {
          if(data.info == 'error') {
            $('.prompt').show().html('<i class="false-icon"></i>'+data.msg);
          } else {
            $('#js_postForm').submit();
          }
        },'json');
  });
})
</script>
{include file="lib/footer.html"}